const {baseModel} = require('./baseModel')
const mongoose = require('mongoose')
const bannerSchema = new mongoose.Schema({
    bannerUrl:{
        type:String,
        required:true
    },
    isShow:{
        type:Number,
        default:1 // 1 显示 2 隐藏

    },
    ...baseModel
})

module.exports = bannerSchema